package com.small.admin.service.impl;

import org.springframework.stereotype.Service;
import com.small.common.base.service.impl.BaseServiceImpl;
import com.small.admin.entity.Menu;
import com.small.admin.mapper.MenuMapper;
import com.small.admin.service.MenuService;

import java.util.List;

/**
 * 作者: fenny
 * 邮箱: 893146555@qq.com
 * 时间: 2017-10-17 15:28:29
 * 描述: 系统菜单 实现
 */
@Service
public class MenuServiceImpl extends BaseServiceImpl<MenuMapper, Menu> implements MenuService {

    @Override
    public List<Menu> selectListAll(){
        return mapper.selectListAll();
    }

    @Override
    public List<Menu> selectListByState(int state){
        return mapper.selectListByState(state);
    }
}